POV-Ray : Newsgroups : povray.text.tutorials : #while loop nesting? : Re: #while loop nesting? Server Time
29 Apr 2024 15:08:35 EDT (-0400)
  Re: #while loop nesting?  
From: Phil Clute
Date: 18 Aug 1999 15:44:34
Message: <37BB0DD3.D11C2526@tiac.net>
I knew I'd figure it out once I posted! Oh well, let this be a lesson to
those who've never nested #while loops before...

#declare Y = 120;
#declare Z = -35.7;
#declare OL= 0;
#declare RY = 0;
#while(OL < 2) 
    #declare i = 0; // The i = 0 must be allowed to reinitialise
    #while(i < 16)  //INSIDE the outer loop...     
    	difference{ ...etc.
-- 
...coffee?...yes please! extra sugar,extra cream...Thank you.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.